<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <title>{$tkd.title|parseTPL}</title>
    <meta name="keywords" content="{$tkd.keywords|parseTPL}" />
    <meta name="description" content="{$tkd.description|parsetpl}" />
    {include file="/system/head"}
</head>
<body>
{include file="/system/header"}
<section class="w-all">
    <nav class="mt20">
        <ul class="clearfix">
            <li><a href="{$kx.config.siteurl}" title="{$kx.config.sitename}首页"><i class="pticon pticon-home pticon-lg"></i> {$kx.config.sitename}首页</a><i class="pticon pticon-angle-right icon"></i></li>
            <li><a href="{link=novel.search.index}" title="小说搜索">小说搜索</a><i class="pticon pticon-angle-right icon"></i></li>
            <li><a href="__SELF__" title="搜索 “{$searchkey}” 结果">搜索 “{$searchkey}” 结果</a></li>
        </ul>
    </nav>
    <div class="container clearfix mt20">
        <div class="w-left">
            <div class="card">
                {block method="search" name=result searchkey=$searchkey page=$page num=$pagesize}
                {block method="pagination" name="paginate" page=$page limit=$pagesize count=$result.count maxpage=50 section=3}
                <div class="header line">
                    <h2>搜索 “<strong class="num">{$searchkey}</strong>” 结果</h2>
                </div>
                <div class="body">
                    <ul class="librarylist">
                        {if $result.count > 0 }
                            {loop=$result.items}
                            <li>
                                <div class="pt-ll-l">
                                    <a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}"><img src="{$loop.novel.cover}" alt="{$loop.novel.name}" /></a>
                                </div>
                                <div class="pt-ll-r">
                                    <p class="info">
                                        <span>《<a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" class="novelname" title="{$loop.novel.name}">{$loop.novel.name}</a>》</span>
                                        <span>作者：<a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品列表">{$loop.author.name}</a></span>
                                        <span>分类：<a href="{link=novel.category.list categoryid=$loop.category.id key=$loop.category.key}" title="{$loop.category.name}小说">{$loop.category.name}</a></span>
                                    </p>
                                    <p class="intro">
                                        {$loop.novel.intro}
                                    </p>
                                    <p class="last">
                                        最新章节：<a href="{link=novel.chapter.read novelid=$loop.novel.id pinyin=$loop.novel.pinyin chapterid=$loop.last.id}" title="{$loop.novel.name} {$loop.last.name}" target="_blank">{$loop.last.name}</a>({$loop.last.time|date="m-d H:i"})
                                    </p>
                                </div>
                                <div class="clear"></div>
                            </li>
                            {/loop}
                        {else}
                            <li>
                                <div style="text-align: center;padding: 25px 0;">
                                    <img src="{$kx.config.resurl}/template/kxwebno2/image/no-data-img.png" style="width: 120px;height: 120px;">
                                    <h1 class="size18 color5">没有输入有效关键词</h1>
                                    <span class="size16">你也可以去 <a href="/" class="color2">全部作品</a> 找书</span>
                                </div>
                            </li>
                        {/if}
                    </ul>
                </div>
            </div>
        </div>
        <div class="w-right">

            <div class="card pt-tab">
                <div class="header tab pt-tab-nav">
                    <ul class="clearfix">
                        <li class="active">本月热门</li>
                        <li>本周热门</li>
                    </ul>
                </div>
                <div class="body pt-tab-con">
                    <ul class="rightlist">
                        {block method="novel.list" name="list" order="monthvisit" num=15}
                        {section loop=$list}
                        <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品大全">{$loop.author.name}</a></span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></li>
                        {/section}
                    </ul>
                    <ul class="rightlist none">
                        {block method="novel.list" name="list" order="weekvisit" num=15}
                        {section loop=$list}
                        <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品大全">{$loop.author.name}</a></span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></li>
                        {/section}
                    </ul>
                </div>
            </div>
        </div>
    </div>
</section>
{include file="/system/footer"}
</body>
</html>